import request from '@/utils/request'


export function msgList (data) { //消息列表
  return request({
    url: '/msg/message/admin/page',
    method: 'get',
    params : data
  })
}
export function addMsg (data,method) { //添加消息
  return request({
    url: '/msg/message',
    method: method,
    data
  })
}
